package com.yjd.comm.login.service;

import java.util.Map;

import com.yjd.comm.base.service.IBaseService;
import com.yjd.comm.login.model.UserLoginModel;

/**
 * <b>description</b>：登录日志业务接口<br>
 * <b>time</b>：2014-11-05 12:00:40 <br>
 * <b>author</b>：  renbangjie_vip@163.com
 */
public interface IUserLoginService extends IBaseService {
	/**
	 * 插入
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public UserLoginModel insert(UserLoginModel model) throws Exception;

	/**
	 * 更新,大于等于1表示成功，其他失败
	 * 
	 * @param model
	 * @return
	 * @throws Exception
	 */
	public int update(UserLoginModel model) throws Exception;

	/**
	 * 根据id删除,大于等于1表示成功，其他失败
	 * 
	 * @param id
	 * @return
	 * @throws Exception
	 */
	public int delete(Long id) throws Exception;
	
	public int deleteList(Map<Object, Object> paramMap) throws Exception;

}
